/**
 * @filename:LanguageField 2022-9-30
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.admin.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**   
 * @Description:TODO(字段语言实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sn_language_field")
@ApiModel(value="sn_language_field对象", description="字段语言表")
public class LanguageField extends Model<LanguageField> {

	private static final long serialVersionUID = 1664507629604287L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "编号")
    private Long id;
    
    @TableField(value = "controller_name") 	
	@ApiModelProperty(name = "controller_name" , value = "模块")
    private String controller_name;
    
    @TableField(value = "table_name") 	
	@ApiModelProperty(name = "table_name" , value = "表名")
    private String table_name;
    
    @TableField(value = "table_column") 	
	@ApiModelProperty(name = "table_column" , value = "字段名")
    private String table_column;
    
    @TableField(value = "table_key") 	
	@ApiModelProperty(name = "table_key" , value = "记录ID")
    private Long table_key;
    
    @TableField(value = "code") 	
	@ApiModelProperty(name = "code" , value = "使用语言")
    private String code;
    
    @TableField(value = "type") 	
	@ApiModelProperty(name = "type" , value = "类型")
    private String type;
    
    @TableField(value = "tip") 	
	@ApiModelProperty(name = "tip" , value = "描述")
    private String tip;
    
    @TableField(value = "content") 	
	@ApiModelProperty(name = "content" , value = "内容")
    private String content;
    
    @TableField(value = "extend") 	
	@ApiModelProperty(name = "extend" , value = "扩展属性")
    private String extend;
    
    @TableField(value = "remark") 	
	@ApiModelProperty(name = "remark" , value = "备注")
    private String remark;
    

	@Override
    public Serializable pkVal() {
        return this.id;
    }
   
}
